package com.example.demo.Dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.demo.bean.customer;
import com.example.demo.bean.shopclassify;
import org.apache.ibatis.annotations.*;

import java.util.List;

/**
 * 供应商
 */
@Mapper
public interface shopclassifydao extends BaseMapper<shopclassify> {

    @Insert("insert into shopclassify(shopiid,shopname,shopspecis) VALUES(#{shopiid},#{shopname},#{shopspecis})")
    int Insertshopclassify(shopclassify shopclassify);


    @Select("select * from shopclassify")
    List<shopclassify> ShowAllshopclassify();


    @Select("select count(*) from shopclassify")
    int Totalshopclassify();
}